package com.ayf.payment.boot;

import com.swwx.charm.commons.lang.utils.LogPortal;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wwl
 * @description:
 * @date 2020/5/28 12:51
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.ayf.payment.game.api.*"})
@EnableDubbo(scanBasePackages = {"com.ayf.payment.game.api.service.remote.impl"})
public class Main {

    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
        LogPortal.info("------------------------------------------------------", new Object[0]);
        LogPortal.info("manager-core-rpc服务启动成功！！！", new Object[0]);
    }
}
